﻿using Authority.IServices.Model.Action;
using Authority.PresentationModels.Action;

namespace Authority.WebAPI
{
    /// <summary>
    /// 功能权限模型映射
    /// </summary>
    public class ActionAuthorityProfile : AutoMapper.Profile
    {
        /// <summary>
        /// 构造
        /// </summary>
        public ActionAuthorityProfile()
        {
            CreateMap<AddActionRequestModel, AddActionModel>();
            CreateMap<EditActionRequestModel, EditActionModel>();
            CreateMap<QueryActionRequestModel, QueryActionModel>();
        }
    }
}
